package com.itheima.mapper.store;

import com.itheima.domain.store.Product;

import java.util.List;

public interface ProductDao {
    int save(Product product);

    int delete(String id);

    int update(Product product);

    Product findById(String id);

    List<Product> findAll();

    void close(String id);

    void open(String id);

    List<Product> findByName(String pName);
}
